package ProcessManager;

public class Process
{
	public static final int MAX_PROCESS_NAME = 128;
	private String type;
	private boolean kill;
	Process next;

	public Process()
	{
	}
	public Process(String name)
	{
		type = name;
		next = null;
		kill = false;
	}
	public void destroy()
	{
	}
	public void SetType(String name)
	{
	}
	public String GetType()
	{
		return type;
	}
	public void SetKill(boolean killValue)
	{
		kill = true;
	}
	public boolean GetKill()
	{
		return kill;
	}
	public void SetNext(Process nextProcess)
	{
		next = nextProcess;
	}
	/*
	 * Virtual functions to be overwritten.
	 */
	public Process GetNext()
	{
		return next;
	}
	public void UpdateProcess(int milliseconds)
	{
	}
	public void KillProcess()
	{
		kill = true;
	}
	public void InitializeProcess()
	{
	}
}
